package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
@ApiModel("病例医嘱信息")
@Data
public class PatientCaseAdviceVO implements Serializable {

    @ApiModelProperty("医嘱类型（1:长期医嘱，2:临时医嘱）")
    private Integer adviceType;

    @ApiModelProperty("医嘱类别（0：项目，1：药品）")
    private Integer adviceKind;

    @ApiModelProperty("是否主要项目")
    private Boolean isMain;

    @ApiModelProperty("医嘱内容编码")
    private String adviceContentCode;

    @ApiModelProperty("医嘱内容")
    private String adviceContent;

    @ApiModelProperty("科室编号")
    private String departCode;

    @ApiModelProperty("科室名称")
    private String departName;

    @ApiModelProperty("医生编码")
    private String doctorCode;

    @ApiModelProperty("医生姓名")
    private String doctorName;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime endTime;
}
